<template>
  <div class="detail">
      <detail-nav-bar></detail-nav-bar>
  </div>
</template>

<script>
// import NavBar from "components//common/navbar/NavBar.vue"
import DetailNavBar from "./childcomps/DetailNavBar"
import {getDetail} from "network/detail"

export default {
  components: {
      DetailNavBar
  },
  props: {},
  data() {
    return {
        iid:null
    };
  },
  watch: {},
  computed: {},
  methods: {},
  created() {
      this.iid=this.$route.params.iid

      getDetail(this.iid).then(res=>{
          console.log(res);
      })
  },
  mounted() {}
};
</script>
<style  scoped>
.detail {
    /* background-color: pink; */
    height: 44px;
}

.center {
    color : black
}
</style>